import Main from "@/components/main";

export default [
  {
    path: "/maint",
    name: "maint",
    meta: {
      icon: "logo-buffer",
      title: "设备维护"
    },
    component: Main,
    children: [
      {
        path: "/maint-set",
        name: "maint-set",
        meta: {
          icon: "logo-buffer",
          title: "维护设置"
        },
        component: resolve =>
          void require(["@/view/maint/maint-set/maintSet.vue"], resolve)
      }, {
        path: "/maint-plan",
        name: "maint-plan",
        meta: {
          icon: "logo-buffer",
          title: "维护方案"
        },
        component: resolve =>
          void require(["@/view/maint/maint-plan/maintPlan.vue"], resolve)
      }
    ]
  }
];
